# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：   envs
   Author :      wuqianyong
   date：        2019/2/15
-------------------------------------------------
   Change Activity:
                   2017/4/1:
-------------------------------------------------
Description :
 
获取环境变量
"""
__author__ = 'wuqianyong'
import os

HOST_IP = os.environ.get("HOST_IP", "0.0.0.0")

deploy_env = os.environ.get('DEPLOY_ENV', 'prd').lower()

# headers
common_headers = {"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
                  "Accept-Encoding": "gzip, deflate, br",
                  "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
                  "Cache-Control": "max-age=0",
                  "Connection": "keep-alive",
                  "DNT": "1",
                  "Upgrade-Insecure-Requests": "1",
                  "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"}
